//
//  IGalleryUnBindApi.m
//  jingdongfang
//
//  Created by BOE on 2017/9/8.
//  Copyright © 2017年 LJL. All rights reserved.
//

#import "IGalleryUnBindApi.h"

@interface IGalleryUnBindApi()

@property (nonatomic, copy) NSString *macId;
@property (nonatomic, copy) NSString *type;

@end

@implementation IGalleryUnBindApi

- (id)initWithMacId:(NSString *)macId type:(NSString *)type {
    self = [super init];
    if (self) {
        self.macId = macId;
        self.type = type;
    }
    return self;
}
    
- (YTKRequestMethod)requestMethod {
    return YTKRequestMethodPOST;
}
    
- (NSString *)requestUrl {
    return @"equ/unBunding";
}
    
- (id)requestArgument {
    return @{
             @"macId": _macId,
             @"type": _type,
             @"uId":[IGUser getUid]
             };
}
    
- (BOOL)isNeedHub {
    return NO;
}
    
@end

@implementation IGalleryUnBindModel

+ (BOOL)propertyIsOptional:(NSString *)propertyName {
    return YES;
}
    
@end

@implementation IGalleryUnBindResp
    
@end
